package client;

import java.io.IOException;

import libraryCORBA.libraryCommand;

public class TestScenarioClient {
	
	private static libraryCommand library;
	
	public static void main (String[] args) throws IOException {
		library = RemoteLibraryHelper.createRemoteLibraryInstance();
		String response;
		
		response = library.createAccount("Marek", "Zaluski", "marekz@example.com", "5148095534", "marekz", "hunter2", "MCGILL");
		System.out.println("Create account: " + response);
		
		response = library.reserveBook("marek", "xyz", "The Great Gatsby", "Fitzgerald", "MCGILL");
		System.out.println("Reserve book: " + response);
		
		response = library.reserveBook("marek", "hunter2", "The Great Gatsby", "Fitzgerald", "MCGILL");
		System.out.println("Reserve book: " + response);
		
	}

}
